package com.wxzz.elearning.common.constants;

public class RedisConstants {

    /**
     * 微信小程序端token前缀
     */
    public final static String WX_TOKEN = "wx_token:";

    /**
     * 限制登录次数
     */
    public final static String LOGIN_NUM = "login_num:";

    /**
     * 手机号验证码
     */
    public final static String PHONE_CODE = "phone_code:";

    /**
     * 总后台token前缀
     */
    public final static String ADMIN_TOKEN = "admin_token:";

    /**
     * 平台参数
     */
    public final static String SMS_PARAM = "sms_param:";

//    /**
//     * 企业后台token前缀
//     */
//    public final static String ENTERPRISE_TOKEN = "enterprise_token:";
//
//    /**
//     * 讲师端token前缀
//     */
//    public final static String DOCENT_TOKEN = "docent_token:";

    /**
     * 学习计划完成情况
     */
    public final static String STUDY_PLAN_QUARTZ = "study_plan_quartz";

    /**
     * 直播数据的统计幂等
     */
    public final static String LIVE_STATISTICS_DATA_QUARTZ = "live_statistics_data_quartz";


    /**
     * 订单数据的统计幂等
     */
    public final static String ORDER_STATISTICS_DATA_QUARTZ = "order_statistics_data_quartz";

    /**
     * 课程统计数据幂等
     */
    public final static String CURRICULUM_DATA_QUARTZ = "curriculum_data_quartz";

    /**
     * 统计企业学习时长幂等
     */
    public final static String CURRICULUM_STUDY_DATA_QUARTZ = "curriculum_study_data_quartz";

    /**
     * 统计企业学习时长
     */
    public final static String CURRICULUM_STUDY_DATA = "curriculum_study_data:";

    /**
     * 记录上次看的学习计划中的章节
     */
    public final static String PLAN_SECTION_LAST_SEE = "plan_section_last_see:";

    /**
     * 记录该用户对应课程的视频进度
     */
    public final static String CURRICULUM_LAST_SEE_TIME = "curriculum_last_see_time:";

    /**
     * 记录上次看的章节
     */
    public final static String SECTION_LAST_SEE = "section_last_see:";


    /**
     * 记录每个课程对应用户的学习人数
     */
    public final static String CURRICULUM_STUDY_NUM = "curriculum_study_num:";

    /**
     * 草稿箱
     */
    public final static String SAVE_BOX = "save_box:";

    /**
     * 0-工厂体检 1-星级认证 2-能力测评 3-在线考试
     */
    public final static String SAVE_TYPE = "save_type:";

    /**
     * 用户导入幂等
     */
    public final static String WX_USER_IMPORT = "wx-user/importExcel:";

    /**
     * 直播预约幂等
     */
    public final static String WX_USER_LIVE = "wx-user/live:";

    /**
     * 问答赏金幂等
     */
    public final static String WX_USER_COMMENT = "wx-user/comment:";

    /**
     * 题目导入幂等
     */
    public final static String TOPIC_IMPORT = "topic/importExcel:";

    /**
     * 用户对应的权限路径
     */
    public final static String USER_PERMISSION = "user_permission:";

    /**
     * 幂等操作
     */
    public final static String IDEMPOTENT = "idempotent:";


    /**
     * 直播死信息队列修改状态
     */
    public final static String DEAL_QUEUE_LIVETELECAST = "deal_queue_livetelecast:";

    /**
     * 培训计划队列修改状态
     */
    public final static String DEAL_QUEUE_TRAINSURVEY = "deal_queue_trainSurvey:";

    /**
     * 通知发送短信
     */
    public final static String DEAL_QUEUE_MESSAGE = "deal_queue_message:";

    /**
     * 直播累计访问量
     */
    public final static String LIVE_VISIT_NUM = "live_visit_num:";

    /**
     * 直播累计访问人数
     */
    public final static String LIVE_VISIT_PERSON_NUM = "live_visit_person_num";

    /**
     * 活动累计访问量
     */
    public final static String ACTIVITY_VISIT_NUM = "activity_visit_num:";

    /**
     * 直播在线人数
     */
    public final static String LIVE_ONLINE_NUM = "live_online_num:";

    /**
     * 权限缓存
     */
    public final static String PERMISSION = "permission:";
    /**
     * 点赞状态
     */
    public final static String GIVELIKESTATUS = "GiveLikeStatus";

    /**
     * 点赞数量
     */
    public final static String GIVELIKECOUNT = "GiveLikeCount";

}
